 {

        var o = require("../UISoundManager.js"), i = require("../UIPopupBase.js");
        cc.Class({
            extends: i,
            properties: {
                scrollView: {
                    default: null,
                    type: cc.ScrollView
                },
                recordItemPre: {
                    default: null,
                    type: cc.Prefab
                },
                nodeNoRecord: cc.Node
            },
            init: function () {
            },
            onLoad: function () {
                Global.notificationCenter.on(Global.eventName.CMD_RECIVE_MESSAGE_LIST, this.onReciveMessageList, this),
                    this.content = this.scrollView.content;
            },
            start: function () {
                Global.msgHandler.requestUserWithdrawInfo();
            },
            onReciveMessageList: function (e) {
                var t = {
                    msgs: [{
                        time: "2018.08.08",
                        text: "恭喜您提现10元至微信现金成功！"
                    }, {
                        time: "2018.08.09",
                        text: "恭喜来宾01e3NUsOJ获得20万元奖金彩池奖励红包券69，奖励已下发，继续参加后面的比赛赢取更多奖励吧"
                    }, {
                        time: "2018.08.10",
                        text: "恭喜百万英雄闯关赛闯关成功，获得奖励复活赛门票1张+60万金币+5000奖券和平分20万元奖金的资格"
                    }, {
                        time: "2018.08.11",
                        text: "恭喜您提现98元至微信现金成功！"
                    }]
                }.msgs;
                if (void 0 !== t && t.length > 0) {
                    this.showNoRecord(!1);
                    for (var n = [], o = 0; o < t.length; o++) {
                        var i = t[o], a = i.time, r = i.text;
                        if (r.indexOf("提现") >= 0) {
                            var s = {}, l = r.indexOf("提现") + 2, c = r.indexOf("元");
                            s.timeS = a, s.numberString = r.substring(l, c), s.titleS = "提现", n.push(s);
                        } else if (r.indexOf("红包券") >= 0) {
                            s = {}, l = r.indexOf("获得") + 2, c = r.indexOf("红包券");
                            var d = r.indexOf("，");
                            s.timeS = a, s.titleS = "通关平分奖励", s.numberString = r.substring(c + 3, d), n.push(s);
                        } else if (r.indexOf("奖券") >= 0) {
                            s = {}, c = r.indexOf("奖券"), l = r.indexOf("+", c - 8) + 1;
                            s.timeS = a, s.titleS = "通关固定奖励", s.numberString = r.substring(l, c), n.push(s);
                        }
                    }
                    this.setInformationWithTotalAndLoss(n);
                }
            },
            showNoRecord: function (e) {
                this.nodeNoRecord.active = e;
            },
            setInformationWithTotalAndLoss: function (e) {
                console.log("RecordPanel inforArray:", e);
                for (var t = 0; t < e.length; t++) {
                    var n = cc.instantiate(this.recordItemPre);
                    this.content && this.content.addChild(n);
                    var o = n.getComponent("recordItem"), i = e[t];
                    o.setDetailInformation(i);
                }
            },
            OnPanelClose: function () {
                o.playEffect("select"), this.closePanel();
            }
        })
    }